import React from "react";
import { Row, Col, Layout } from "antd";
import Header from "./components/Header";
import LeftMenu from "./components/LeftMenu";
import BreadCrumb from "./components/Breadcrumb";
import "./style/adminhome.less";
export default class Admin extends React.Component {
  render() {
    return (
      <div>
        <Row>
          <Header></Header>
        </Row>
        <Row className="container">
          <Col span={4}>
            <LeftMenu></LeftMenu>
          </Col>
          <Col span={20} className="adminhome">
            <BreadCrumb></BreadCrumb>{/* 面包屑 */}
            {this.props.children}
          </Col>
        </Row>
      </div>
    );
  }
}
